<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
	<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<div id="header-logo">
		<a href="index.jsp"><img src="style/images/logo.png" alt=""></img></a>
	</div>
	<div id="header-login">
		<a href="login">登录</a> | <a href="register">注册</a>
	</div>
	<div class="clearBoth"></div>
	<div id="header-search">
		<form id="searchForm" action="select" method="post">
			<input id="keyword" name="title" type="text" /><input id="btnSearch"
				type="submit" value="搜索" />
		</form>
	</div>
	<div id="header-nav">
		<ul>
			<li><a href="index">首页</a></li>
			<li><a href="album_list.jsp">商店</a></li>
			<li><a href="showShoppingCar?uid=${user.id }">购物车</a></li>
			<li><a href="edit_user.jsp">个人信息</a></li>
			<c:if test="${user.userRole.id == 2 }">
				<li><a href="hom/homepage">后台管理</a></li>
			</c:if>
		</ul>
		<label id="welcome"> 您好，${user.name } </label>
	</div>